home *** CD-ROM | disk | FTP | other *** search
/ 1,000 Games / 1000 Games.toast / Space Games / QALander / QALander / Sample.r < prev    next >
Encoding:
Text File  |  1993-02-07  |  1.1 KB  |  35 lines  |  [TEXT/MPS ]

  1. // Copyright © 1992 Emergent Behavior. All rights reserved.
  2.  
  3. //================================================================
  4. #ifndef __TYPES.R__
  5.     #include "Types.r"                    // SIZE, WIND, STR  , MBAR etc.
  6. #endif
  7.  
  8. //================================================================
  9. #define kMenuBarID      128
  10. #define kAppleMenuID 128
  11. #define kFileMenuID  129
  12. #define kEditMenuID  130
  13. #define kPhysicsMenuID  131
  14.  
  15. //================================================================
  16. include "QuickApp.rsrc";            // WIND 1001, MENU 128-130 - QuickApp folder
  17. include "SampleBundle.rsrc";        // BNDL, icons, etc.- this folder
  18. include "Pict.rsrc";                // PICT 1001, 1002- this folder
  19. // ------------------------------------------------------------------------------
  20. resource 'MENU' (kPhysicsMenuID) {
  21.     kPhysicsMenuID,
  22.     textMenuProc,
  23.     0x7FFFFFFF,
  24.     enabled,
  25.     "Simulation",
  26.      {
  27.         "Start", noIcon, "1", noMark, plain;
  28.         "Stop", noIcon, "2", noMark, plain;
  29.     }
  30. };
  31.  
  32. // ------------------------------------------------------------------------------
  33. resource 'MBAR' (kMenuBarID, "name", nonpurgeable) {
  34.     {kAppleMenuID; kFileMenuID; kEditMenuID; kPhysicsMenuID}
  35. };